package Fecse;

public class BirthDate {
    private int day;
    private int month;
    private int year;
    public BirthDate(int a,int m,int y){
        day=a;month=m;year=y;
    }
    public void setDay(int d){day=d;}
    public void setMonth(int m){month=m;}
    public void setYear(int y){year=y;}
    public int getDay(){return day;}
    public int getMonth(){return month;}
    public int getYear(){return year;}
    public void diaplay(){
        System.out.println(year+"-"+month+"_"+day);
    }
}
